package me.muci.B_threadMethods.DaemonTest;

/**
 * ClassName: MyThread <br/>
 * Description: <br/>
 * date: 2021/8/9 10:53<br/>
 *
 * @author muci<br />
 * @description
 * @since JDK 1.8
 */
public class ThreadRunning implements Runnable{

    public static volatile boolean running = true;

    @Override
    public void run() {

        int i = 0;
        while (running){
            System.out.println("running........."+ i );
            i++;
        }

    }
}
